import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/gloable.css'

//axios
import request from "@/utils/request";
//引入echarts
import * as echarts from 'echarts';
//vuex
import store from "@/store";
//背景
import VueParticles from 'vue-particles'
// fade/zoom 等
import 'element-ui/lib/theme-chalk/base.css';

//markdown
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import SlideVerify from 'vue-monoplasty-slide-verify';
Vue.use(SlideVerify);
//vant移动端
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);


Vue.use(VueParticles)
  // markdown
Vue.use(mavonEditor)

Vue.config.productionTip = false
Vue.prototype.request = request
Vue.prototype.$echarts = echarts

Vue.use(ElementUI, {
  size: 'mini'
});

new Vue({
  router,
  store,
  //安装全局事件总线
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App)
}).$mount('#app')
